// 公用的类名
$white: #fff;
$blue2: #3479ae;
$blue3: #1466a6;

// flex布局 
.flex {
    display: flex;
}

// flex布局 改变轴向
.flex-fdc {
    display: flex;
    flex-direction: column;
}

// flex布局 垂直居中
.flex-aic {
    display: flex;
    align-items: center;
}

// flex布局 水平居左
.flex-jcs {
    display: flex;
    justify-content: start;
}

// flex布局 水平居中 
.flex-jcc {
    display: flex;
    justify-content: center;
}

// flex布局 水平居右
.flex-jce {
    display: flex;
    justify-content: end;
}

// flex布局 水平两边分布 
.flex-jcsb {
    display: flex;
    justify-content: space-between;
}

// 鼠标小手
.curp {
    cursor: pointer;
}

//按钮样式
.ptt-btn,
.ptt-btn-small {
    height: 36px;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    padding: 10px 15px;
    margin: 0 10px;
    color: $white;
    background-color: $blue3;
    border-radius: 5px;
    cursor: pointer;

    // 悬停时
    &:hover {
        opacity: 0.9;
    }

    // 点击了但未松手时
    &:active {
        opacity: 0.8;
    }
}

.ptt-btn-small {
    height: 32px;
    font-size: 16px;
    line-height: 16px;
    padding: 8px 12px;
    margin: 0 8px;
}


.ptt-scroll-hidden {
    overflow: hidden;
}

// --------------------**横向滚动条**--------------------
.ptt-scroll-x {
    overflow-x: auto;
    overflow-y: hidden;
}

/*   横向滚动条  */
.ptt-scroll-x::-webkit-scrollbar {
    height: 5px;
}


// --------------------**垂直滚动条**--------------------
.ptt-scroll-y {
    overflow-y: auto;
    overflow-x: hidden;
}

/* 垂直滚动条  */
.ptt-scroll-y::-webkit-scrollbar {
    width: 5px;
}


/*   拖动的块 */
.ptt-scroll-x::-webkit-scrollbar-thumb,
.ptt-scroll-y::-webkit-scrollbar-thumb {
    background: #98c5e1cf;
    border-radius: 10px;
}

/*  滑块的轨迹 */
.ptt-scroll-x::-webkit-scrollbar-track,
.ptt-scroll-y::-webkit-scrollbar-track {
    background: #eee;
}